
package com.applink.sell_proof.fragment.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;

import com.applink.sell_proof.RewardTemp;


/**
 * @author Hoang Viet
 * 
 */
public class RewardFragmentPagerAdapter extends BaseFragmentPagerAdapter
{	
	private static final String[] TITLES = new String[]  {""};//{"CLAIM"};//{"PROJECT", "CLAIM"};

	public RewardFragmentPagerAdapter(FragmentManager fm)
	{
		super(fm, TITLES);
	}

	@Override
	public Fragment getItem(int index)
	{		
		switch (index)
		{
//			case 0:
//				//RewardStatementFragment rewardStatement = new RewardStatementFragment();
//				RewardProjectFragment rewardStatement = new RewardProjectFragment();
//				//NewRewardStatementConfigFragment rewardStatement = new NewRewardStatementConfigFragment();
//				mFragments.put(index, rewardStatement);				
//				return rewardStatement;

			case 0:
				//RewardTemp by Mr Thien 28/10/2013
				RewardTemp rewardTemp = new RewardTemp();
				mFragments.put(index, rewardTemp);
				return rewardTemp;
				
//				RewardClaimFragment rewardClaim = new RewardClaimFragment();
//				mFragments.put(index, rewardClaim);
//				return rewardClaim;
				
//			case 2:
//				RewardPendingFragment rewardPending = new RewardPendingFragment();
//				mFragments.put(index, rewardPending);
//				return rewardPending;
			default:
				return null;
		}
	}
	
	
}
